pinokiod 5.0.0 → 5.0.1
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/kernel/api/app/index.js +167 -0
- package/kernel/api/index.js +4 -0
- package/kernel/api/process/index.js +21 -0
- package/kernel/bin/browserless.js +15 -5
- package/kernel/bin/cli.js +13 -20
- package/kernel/bin/cuda.js +8 -2
- package/kernel/bin/index.js +24 -20
- package/kernel/bin/xcode-tools.js +29 -9
- package/kernel/environment.js +4 -1
- package/kernel/git.js +67 -1
- package/kernel/scripts/git/commit_files +31 -0
- package/kernel/scripts/git/reset_files +21 -0
- package/package.json +1 -1
- package/server/index.js +4 -61
- package/server/public/htmlmodal.js +12 -0
- package/server/views/app.ejs +502 -66
- package/server/views/index.ejs +4 -1
package/server/views/index.ejs
CHANGED
|
@@ -769,7 +769,10 @@ document.addEventListener("DOMContentLoaded", () => {
|
|
|
769
769
|
}
|
|
770
770
|
options?.replace ? location.replace(url) : location.assign(url);
|
|
771
771
|
} else {
|
|
772
|
-
const
|
|
772
|
+
const callbackUrl = url
|
|
773
|
+
? (url.pathname + url.search + url.hash)
|
|
774
|
+
: (window.location.pathname + window.location.search + window.location.hash);
|
|
775
|
+
const callback = encodeURIComponent(callbackUrl);
|
|
773
776
|
window.location.href = `/setup/dev?callback=${callback}`;
|
|
774
777
|
}
|
|
775
778
|
});
|