@nsnanocat/util 2.6.10 → 2.6.11
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/lib/environment.mjs +6 -6
- package/package.json +1 -1
package/lib/environment.mjs
CHANGED
|
@@ -28,14 +28,14 @@ export const $environment = environment();
|
|
|
28
28
|
export function environment() {
|
|
29
29
|
switch ($app) {
|
|
30
30
|
case "Surge":
|
|
31
|
-
|
|
32
|
-
return
|
|
31
|
+
globalThis.$environment.app = "Surge";
|
|
32
|
+
return globalThis.$environment;
|
|
33
33
|
case "Stash":
|
|
34
|
-
|
|
35
|
-
return
|
|
34
|
+
globalThis.$environment.app = "Stash";
|
|
35
|
+
return globalThis.$environment;
|
|
36
36
|
case "Egern":
|
|
37
|
-
|
|
38
|
-
return
|
|
37
|
+
globalThis.$environment.app = "Egern";
|
|
38
|
+
return globalThis.$environment;
|
|
39
39
|
case "Loon": {
|
|
40
40
|
const environment = $loon.split(" ");
|
|
41
41
|
return {
|
package/package.json
CHANGED