mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-11 18:19:58 +00:00
Fix install-manifest script + create product archive from component pkg
This commit is contained in:
29
app/bin/lib/paths.js
Normal file
29
app/bin/lib/paths.js
Normal file
@@ -0,0 +1,29 @@
|
||||
const path = require("path");
|
||||
|
||||
exports.DIST_DIR_PATH = path.join(__dirname, "../../../dist/app");
|
||||
|
||||
exports.executableName = {
|
||||
win32: "bridge.exe"
|
||||
, darwin: "bridge"
|
||||
, linux: "bridge"
|
||||
};
|
||||
|
||||
exports.executablePath = {
|
||||
win32: "C:\\Program Files\\fx_cast\\"
|
||||
, darwin: "/Library/Application Support/fx_cast/"
|
||||
, linux: "/opt/fx_cast/"
|
||||
};
|
||||
|
||||
exports.manifestName = "fx_cast_bridge.json";
|
||||
|
||||
exports.manifestPath = {
|
||||
darwin: "/Library/Application Support/Mozilla/NativeMessagingHosts/"
|
||||
, linux: ".mozilla/native-messaging-hosts/"
|
||||
, win32: "C:\\Program Files\\fx_cast\\"
|
||||
};
|
||||
|
||||
exports.pkgPlatform = {
|
||||
win32: "win"
|
||||
, darwin: "macos"
|
||||
, linux: "linux"
|
||||
};
|
||||
Reference in New Issue
Block a user