mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-12-16 11:41:50 +00:00
Add linux build to standalone.package.prod.
This commit is contained in:
parent
88a1c733bd
commit
9c9a6b0abc
@ -153,14 +153,39 @@ function gulptasksStandalone($, gulp, buildFolder) {
|
|||||||
const playablePath = appPath + "_playable";
|
const playablePath = appPath + "_playable";
|
||||||
fse.copySync(appPath, playablePath);
|
fse.copySync(appPath, playablePath);
|
||||||
fs.writeFileSync(path.join(playablePath, "steam_appid.txt"), "1134480");
|
fs.writeFileSync(path.join(playablePath, "steam_appid.txt"), "1134480");
|
||||||
fs.writeFileSync(
|
switch (platform) {
|
||||||
path.join(playablePath, "play.bat"),
|
case 'win32':
|
||||||
"start shapezio --dev --disable-direct-composition --in-process-gpu\r\n"
|
fs.writeFileSync(
|
||||||
);
|
path.join(playablePath, "play.bat"),
|
||||||
fs.writeFileSync(
|
"start shapezio --dev --disable-direct-composition --in-process-gpu\r\n"
|
||||||
path.join(playablePath, "play_local.bat"),
|
);
|
||||||
"start shapezio --local --dev --disable-direct-composition --in-process-gpu\r\n"
|
fs.writeFileSync(
|
||||||
);
|
path.join(playablePath, "play_local.bat"),
|
||||||
|
"start shapezio --local --dev --disable-direct-composition --in-process-gpu\r\n"
|
||||||
|
);
|
||||||
|
break;
|
||||||
|
case 'linux':
|
||||||
|
fs.writeFileSync(
|
||||||
|
path.join(playablePath, "play.sh"),
|
||||||
|
"./shapezio --dev --disable-direct-composition --in-process-gpu\r\n"
|
||||||
|
);
|
||||||
|
fs.chmodSync(
|
||||||
|
path.join(playablePath, "play.sh"),
|
||||||
|
0o775
|
||||||
|
)
|
||||||
|
fs.writeFileSync(
|
||||||
|
path.join(playablePath, "play_local.sh"),
|
||||||
|
"./shapezio --local --dev --disable-direct-composition --in-process-gpu\r\n"
|
||||||
|
);
|
||||||
|
fs.chmodSync(
|
||||||
|
path.join(playablePath, "play_local.sh"),
|
||||||
|
0o775
|
||||||
|
)
|
||||||
|
break
|
||||||
|
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
cb();
|
cb();
|
||||||
@ -182,8 +207,13 @@ function gulptasksStandalone($, gulp, buildFolder) {
|
|||||||
"standalone.package.prod",
|
"standalone.package.prod",
|
||||||
$.sequence("standalone.prepare", [
|
$.sequence("standalone.prepare", [
|
||||||
"standalone.package.prod.win64",
|
"standalone.package.prod.win64",
|
||||||
|
<<<<<<< HEAD
|
||||||
// "standalone.package.prod.linux64",
|
// "standalone.package.prod.linux64",
|
||||||
// "standalone.package.prod.win32",
|
// "standalone.package.prod.win32",
|
||||||
|
=======
|
||||||
|
// "standalone.package.prod.win32",
|
||||||
|
"standalone.package.prod.linux64",
|
||||||
|
>>>>>>> Add linux build to standalone.package.prod.
|
||||||
// "standalone.package.prod.linux32",
|
// "standalone.package.prod.linux32",
|
||||||
// "standalone.package.prod.darwin64"
|
// "standalone.package.prod.darwin64"
|
||||||
])
|
])
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user