esoftplay 0.0.128-a → 0.0.128-b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/locale/id.json +0 -7
- package/bin/cli.js +11 -10
- package/package.json +1 -1
package/assets/locale/id.json
CHANGED
|
@@ -62,9 +62,6 @@
|
|
|
62
62
|
"lib/notification": {
|
|
63
63
|
"permission": "Please enable notifications permissions"
|
|
64
64
|
},
|
|
65
|
-
"lib/roll": {
|
|
66
|
-
"failed": "Failed to access"
|
|
67
|
-
},
|
|
68
65
|
"lib/updater": {
|
|
69
66
|
"alert_info": "Informasi",
|
|
70
67
|
"alert_msg": "Pembaharuan berhasil diinstall",
|
|
@@ -96,9 +93,5 @@
|
|
|
96
93
|
},
|
|
97
94
|
"use/deeplink": {
|
|
98
95
|
"msg_err": "Oops...!"
|
|
99
|
-
},
|
|
100
|
-
"user/login": {
|
|
101
|
-
"username": "username",
|
|
102
|
-
"pass": "password"
|
|
103
96
|
}
|
|
104
97
|
}
|
package/bin/cli.js
CHANGED
|
@@ -172,16 +172,17 @@ function switchStatusAssets(status) {
|
|
|
172
172
|
|
|
173
173
|
fs.readdirSync(DIR + '/modules/').forEach((mod) => {
|
|
174
174
|
const path = DIR + '/modules/' + mod
|
|
175
|
-
fs.
|
|
176
|
-
|
|
177
|
-
if (
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
if (
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
175
|
+
if (fs.statSync(path).isDirectory())
|
|
176
|
+
fs.readdirSync(path).forEach((file) => {
|
|
177
|
+
if (status.includes('d'))
|
|
178
|
+
if (file.match(/^.*.debug.*/g)) {
|
|
179
|
+
copyFileFromTo(path + '/' + file, path + '/' + file.replace('.debug.', '.'))
|
|
180
|
+
}
|
|
181
|
+
if (status.includes('l'))
|
|
182
|
+
if (file.match(/^.*.live.*/g)) {
|
|
183
|
+
copyFileFromTo(path + '/' + file, path + '/' + file.replace('.live.', '.'))
|
|
184
|
+
}
|
|
185
|
+
})
|
|
185
186
|
})
|
|
186
187
|
|
|
187
188
|
}
|