Skip to content

Commit

Permalink
Release: 5.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
amarullz committed Jun 23, 2024
1 parent d41fe55 commit 6d05c24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ android {
versionCode 520
versionName "5.2.0"


// Automatic Build Version
buildConfigField "long", "TIMESTAMP", System.currentTimeMillis() + "L"
setProperty("archivesBaseName", "animetv-" + versionName)
Expand Down
3 changes: 3 additions & 0 deletions electron/ver.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ var out = "module.exports =" + out_info + ";";
if (process.argv.length>0 && process.argv[process.argv.length-1]=='build'){
console.log("Writing Versions:\n"+out);
fs.writeFileSync("electron/src/version.js", out);
if (!fs.existsSync("electron/builds")){
fs.mkdirSync("electron/builds");
}
fs.writeFileSync("electron/builds/version.json", out_info);
fs.writeFileSync("electron/builds/version.txt", vername);
}
Expand Down

0 comments on commit 6d05c24

Please sign in to comment.