mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-11 10:09:59 +00:00
Update packages and fix issue with app build script
This commit is contained in:
@@ -116,7 +116,14 @@ async function build () {
|
||||
spawnSync("mv", [ path.join(BUILD_PATH, "src/*"), BUILD_PATH ]
|
||||
, spawnOptions);
|
||||
} else {
|
||||
fs.moveSync(path.join(BUILD_PATH, "src"), BUILD_PATH);
|
||||
const buildSrcDir = path.join(BUILD_PATH, "src");
|
||||
|
||||
for (const fileName of fs.readdirSync(buildSrcDir)) {
|
||||
fs.moveSync(path.join(buildSrcDir, fileName)
|
||||
, path.join(BUILD_PATH, fileName));
|
||||
}
|
||||
|
||||
fs.removeSync(buildSrcDir);
|
||||
}
|
||||
|
||||
// Copy other files
|
||||
@@ -183,7 +190,7 @@ async function build () {
|
||||
// Run pkg to create a single executable
|
||||
await pkg.exec([
|
||||
BUILD_PATH
|
||||
, "--target", `${pkgPlatform[argv.platform]}-${argv.arch}`
|
||||
, "--target", `node12-${pkgPlatform[argv.platform]}-${argv.arch}`
|
||||
, "--output", path.join(BUILD_PATH, executableName[argv.platform])
|
||||
]);
|
||||
|
||||
|
||||
1649
app/package-lock.json
generated
1649
app/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -16,19 +16,19 @@
|
||||
"castv2": "^0.1.10",
|
||||
"dnssd": "^0.4.1",
|
||||
"fast-srp-hap": "^1.0.1",
|
||||
"mime-types": "^2.1.24",
|
||||
"mime-types": "^2.1.26",
|
||||
"node-fetch": "^2.6.0",
|
||||
"tweetnacl": "^1.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/dnssd": "^0.4.1",
|
||||
"@types/mime-types": "^2.1.0",
|
||||
"@types/node": "^12.6.8",
|
||||
"@types/node-fetch": "^2.5.0",
|
||||
"makensis": "^0.18.1",
|
||||
"mustache": "^3.0.1",
|
||||
"pkg": "^4.4.0",
|
||||
"tslint": "^5.18.0"
|
||||
"@types/node": "^12.12.24",
|
||||
"@types/node-fetch": "^2.5.4",
|
||||
"makensis": "^0.18.2",
|
||||
"mustache": "^3.2.1",
|
||||
"pkg": "^4.4.2",
|
||||
"tslint": "^5.20.1"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"rage-edit": "^1.2.0"
|
||||
|
||||
@@ -122,7 +122,7 @@
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
LastSwiftUpdateCheck = 1030;
|
||||
LastUpgradeCheck = 1030;
|
||||
LastUpgradeCheck = 1130;
|
||||
ORGANIZATIONNAME = "Matt Hensman";
|
||||
TargetAttributes = {
|
||||
C9EF714D2314055C00EBDE93 = {
|
||||
|
||||
Reference in New Issue
Block a user