Compare commits
3 Commits
77b4533dea
...
8446dbc955
| Author | SHA1 | Date | |
|---|---|---|---|
| 8446dbc955 | |||
| 0b7318f856 | |||
| bddc9aca0d |
@@ -129,6 +129,17 @@ const servers: NewServerData[] = [
|
||||
serverLoc: "D$\\LST_V3",
|
||||
buildNumber: 1,
|
||||
},
|
||||
{
|
||||
name: "Iowa City EBM",
|
||||
server: "USIOW1VMS006",
|
||||
plantToken: "usiow1",
|
||||
idAddress: "10.75.0.26",
|
||||
greatPlainsPlantCode: "30",
|
||||
contactEmail: "",
|
||||
contactPhone: "",
|
||||
serverLoc: "D$\\LST_V3",
|
||||
buildNumber: 1,
|
||||
},
|
||||
];
|
||||
|
||||
// notes here for when it comes time to pull in all the server address info [test1_AlplaPROD2.0_Read].[masterData].[Plant] has everything from every server :D
|
||||
|
||||
@@ -9,12 +9,19 @@ const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = path.dirname(__filename);
|
||||
|
||||
const downloadDir = path.resolve(__dirname, "../../downloads/mobile");
|
||||
const projectRoot = path.resolve("./lstMobile"); // adjust as needed
|
||||
const appJsonPath = path.join(projectRoot, "app.json");
|
||||
|
||||
const raw = fs.readFileSync(appJsonPath, "utf-8");
|
||||
const config = JSON.parse(raw);
|
||||
|
||||
const exp = config.expo;
|
||||
|
||||
const currentApk = {
|
||||
packageName: "net.alpla.lst.mobile",
|
||||
versionName: "0.0.1-alpha",
|
||||
versionCode: 1,
|
||||
minSupportedVersionCode: 1,
|
||||
packageName: exp.android?.package,
|
||||
versionName: exp.version,
|
||||
versionCode: exp.android?.versionCode,
|
||||
minSupportedVersionCode: 1, // keep this custom if needed
|
||||
fileName: "lst-mobile.apk",
|
||||
};
|
||||
|
||||
|
||||
@@ -15,13 +15,12 @@
|
||||
"backgroundColor": "#E6F4FE",
|
||||
"foregroundImage": "./assets/images/android-icon-foreground.png",
|
||||
"backgroundImage": "./assets/images/android-icon-background.png",
|
||||
"monochromeImage": "./assets/images/android-icon-monochrome.png",
|
||||
"package": "net.alpla.lst.mobile"
|
||||
|
||||
"monochromeImage": "./assets/images/android-icon-monochrome.png"
|
||||
},
|
||||
"versionCode": 5,
|
||||
"minSupportedVersionCode": 1,
|
||||
"predictiveBackGestureEnabled": false,
|
||||
"package": "com.anonymous.lstMobile"
|
||||
"package": "net.alpla.lst.mobile"
|
||||
},
|
||||
"web": {
|
||||
"output": "static",
|
||||
|
||||
@@ -2,8 +2,12 @@ const { withDangerousMod } = require("@expo/config-plugins");
|
||||
const fs = require("fs");
|
||||
const path = require("path");
|
||||
|
||||
const packageName = "com.anonymous.lstMobile";
|
||||
const packagePath = "com/anonymous/lstMobile";
|
||||
// const packageName = "net.alpla.lst.mobile";
|
||||
// const packagePath = "com/alpla/lst/mobile";
|
||||
const packageName = "net.alpla.lst.mobile";
|
||||
const packagePath = "net/alpla/lst/mobile";
|
||||
// const packageName = config.android?.package;
|
||||
// const packagePath = packageName.replace(/\./g, "/");
|
||||
|
||||
const moduleCode = `package ${packageName}.scanner
|
||||
|
||||
|
||||
Reference in New Issue
Block a user