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.
@@ -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.readdirSync(path).forEach((file) => {
176
- if (status.includes('d'))
177
- if (file.match(/^.*.debug.*/g)) {
178
- copyFileFromTo(path + '/' + file, path + '/' + file.replace('.debug.', '.'))
179
- }
180
- if (status.includes('l'))
181
- if (file.match(/^.*.live.*/g)) {
182
- copyFileFromTo(path + '/' + file, path + '/' + file.replace('.live.', '.'))
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esoftplay",
3
- "version": "0.0.128-a",
3
+ "version": "0.0.128-b",
4
4
  "description": "embedding data from esoftplay framework (web based) into mobile app",
5
5
  "main": "cache/index.js",
6
6
  "types": "../../index.d.ts",