mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-12-09 08:47:31 +00:00
cd: fix windows inno depend and fix android aab path
This commit is contained in:
parent
fe49085b41
commit
8af93a2345
@ -82,7 +82,7 @@ class AndroidBuildCommand extends Command with BuildCommandCommonSteps {
|
|||||||
);
|
);
|
||||||
|
|
||||||
await ogAppbundleFile.copy(
|
await ogAppbundleFile.copy(
|
||||||
join(cwd.path, "dist", "Spotube-playstore-all-arch.aab"),
|
join(cwd.path, "build", "Spotube-playstore-all-arch.aab"),
|
||||||
);
|
);
|
||||||
|
|
||||||
stdout.writeln("✅ Built Android Apk and Appbundle");
|
stdout.writeln("✅ Built Android Apk and Appbundle");
|
||||||
|
|||||||
@ -12,17 +12,11 @@ class WindowsBuildCommand extends Command with BuildCommandCommonSteps {
|
|||||||
@override
|
@override
|
||||||
String get name => "windows";
|
String get name => "windows";
|
||||||
|
|
||||||
Future<void> innoInstall() async {
|
Future<void> innoDependInstall() async {
|
||||||
final innoInstallerPath = join(cwd.path, "build", "installer.exe");
|
|
||||||
const innoVersion = "6.2.0";
|
|
||||||
final innoDependencyPath = join(cwd.path, "build", "inno-depend");
|
final innoDependencyPath = join(cwd.path, "build", "inno-depend");
|
||||||
|
|
||||||
await shell.run(
|
await shell.run(
|
||||||
"""
|
"git clone https://github.com/DomGries/InnoDependencyInstaller.git $innoDependencyPath",
|
||||||
curl -o $innoInstallerPath http://files.jrsoftware.org/is/6/innosetup-$innoVersion.exe
|
|
||||||
git clone https://github.com/DomGries/InnoDependencyInstaller.git $innoDependencyPath
|
|
||||||
$innoInstallerPath /verysilent /allusers /dir=build\\iscc
|
|
||||||
""",
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -45,7 +39,7 @@ class WindowsBuildCommand extends Command with BuildCommandCommonSteps {
|
|||||||
}
|
}
|
||||||
|
|
||||||
await bootstrap();
|
await bootstrap();
|
||||||
// await innoInstall();
|
await innoDependInstall();
|
||||||
|
|
||||||
await shell.run(
|
await shell.run(
|
||||||
"flutter_distributor package --platform=windows --targets=exe --skip-clean",
|
"flutter_distributor package --platform=windows --targets=exe --skip-clean",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user