mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-12-08 00:17:29 +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(
|
||||
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");
|
||||
|
||||
@ -12,17 +12,11 @@ class WindowsBuildCommand extends Command with BuildCommandCommonSteps {
|
||||
@override
|
||||
String get name => "windows";
|
||||
|
||||
Future<void> innoInstall() async {
|
||||
final innoInstallerPath = join(cwd.path, "build", "installer.exe");
|
||||
const innoVersion = "6.2.0";
|
||||
Future<void> innoDependInstall() async {
|
||||
final innoDependencyPath = join(cwd.path, "build", "inno-depend");
|
||||
|
||||
await shell.run(
|
||||
"""
|
||||
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
|
||||
""",
|
||||
"git clone https://github.com/DomGries/InnoDependencyInstaller.git $innoDependencyPath",
|
||||
);
|
||||
}
|
||||
|
||||
@ -45,7 +39,7 @@ class WindowsBuildCommand extends Command with BuildCommandCommonSteps {
|
||||
}
|
||||
|
||||
await bootstrap();
|
||||
// await innoInstall();
|
||||
await innoDependInstall();
|
||||
|
||||
await shell.run(
|
||||
"flutter_distributor package --platform=windows --targets=exe --skip-clean",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user