projax 1.3.1 → 1.3.2
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/dist/core-bridge.js +3 -0
- package/dist/electron/core.js +3 -3
- package/package.json +1 -1
package/dist/core-bridge.js
CHANGED
|
@@ -55,8 +55,11 @@ function loadCore() {
|
|
|
55
55
|
return cachedCore;
|
|
56
56
|
}
|
|
57
57
|
const candidates = [
|
|
58
|
+
path.join(__dirname, 'core', 'index.js'),
|
|
58
59
|
path.join(__dirname, 'core'),
|
|
60
|
+
path.join(__dirname, '..', 'core', 'dist', 'index.js'),
|
|
59
61
|
path.join(__dirname, '..', 'core', 'dist'),
|
|
62
|
+
path.join(__dirname, '..', '..', 'core', 'dist', 'index.js'),
|
|
60
63
|
path.join(__dirname, '..', '..', 'core', 'dist'),
|
|
61
64
|
'projax-core',
|
|
62
65
|
];
|
package/dist/electron/core.js
CHANGED
|
@@ -55,12 +55,12 @@ function resolveCore() {
|
|
|
55
55
|
return cachedCore;
|
|
56
56
|
}
|
|
57
57
|
const candidates = [
|
|
58
|
-
|
|
58
|
+
path.join(__dirname, 'core', 'index.js'),
|
|
59
59
|
path.join(__dirname, 'core'),
|
|
60
|
-
|
|
60
|
+
path.join(__dirname, '..', '..', 'core', 'dist', 'index.js'),
|
|
61
61
|
path.join(__dirname, '..', '..', 'core', 'dist'),
|
|
62
|
+
path.join(__dirname, '..', 'core', 'dist', 'index.js'),
|
|
62
63
|
path.join(__dirname, '..', 'core', 'dist'),
|
|
63
|
-
// Fallback: installed module (during development)
|
|
64
64
|
'projax-core',
|
|
65
65
|
];
|
|
66
66
|
for (const candidate of candidates) {
|