-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Refactored menu, added font generator and fixed HD texture errors * Uploaded translations * Added a warning about mods * Added update system * Changed en message a little bit * Updated commit-hash * Added try/catch to avoid messing retro if github or the device doesnt have internet * Git now read directly and changed game icons * Reworked git generation to live on build time * Switched back to sync * Add comment to explain why we avoid roy textures * Fixed git error, converted script to ps1 and added log file * Removed comments
- Loading branch information
Showing
36 changed files
with
1,014 additions
and
423 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Remove-Item -Force lib/auto/build.dart | ||
New-Item -ItemType File -Path lib/auto/build.dart | ||
|
||
$BRANCH = git rev-parse --abbrev-ref HEAD | ||
$COMMIT_HASH = git rev-parse --short HEAD | ||
$COMMIT_DATE = git show -s --format=%ci | ||
|
||
"const String branch = '$BRANCH';" | Out-File -FilePath lib/auto/build.dart -Encoding utf8 | ||
"const String commitHash = '$COMMIT_HASH';" | Out-File -FilePath lib/auto/build.dart -Encoding utf8 -Append | ||
"const String commitDate = '$COMMIT_DATE';" | Out-File -FilePath lib/auto/build.dart -Encoding utf8 -Append |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
rm -f lib/auto/build.dart | ||
touch lib/auto/build.dart | ||
BRANCH=$(git rev-parse --abbrev-ref HEAD) | ||
COMMIT_HASH=$(git rev-parse --short HEAD) | ||
COMMIT_DATE=$(git show -s --format=%ci) | ||
|
||
echo "const String branch = '$BRANCH';" > lib/auto/build.dart | ||
echo "const String commitHash = '$COMMIT_HASH';" >> lib/auto/build.dart | ||
echo "const String commitDate = '$COMMIT_DATE';" >> lib/auto/build.dart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
const String branch = 'v0.2.0'; | ||
const String commitHash = '705c17d'; | ||
const String commitDate = '2024-06-03 23:53:34 -0600'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import 'package:retro/utils/git.dart'; | ||
|
||
class RetroContext { | ||
static const String versionName = '0.2.0'; | ||
static const int versionCode = 0; | ||
static late GitInfo git; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.