Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
Percslol committed Feb 7, 2025
1 parent 94c79ae commit 79f8747
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
run: |
CURRENT_VERSION=$(jq -r .version package.json)
echo "Current version: $CURRENT_VERSION"
LATEST_TAG=$(npm view {pkg} version)
LATEST_TAG=$(npm view @mercuryworkshop/anuraos-types version || echo "0.0.0")
echo "Latest NPM version: $LATEST_VERSION"
LATEST_VERSION=${LATEST_TAG}
Expand Down
6 changes: 3 additions & 3 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<script type="text/javascript" src="./lib/coreapps/XFrogApp.js"></script>
<!-- <script
type="text/javascript"
src="lib/coreapps/ThemeEditor.js"
src="./lib/coreapps/ThemeEditor.js"
></script> -->
<script type="text/javascript" src="./lib/coreapps/ExploreApp.js"></script>
<script type="text/javascript" src="./lib/coreapps/GenericApp.js"></script>
Expand Down Expand Up @@ -117,14 +117,14 @@
></script>
<script type="text/javascript" src="./lib/AltTabView.js"></script>
<script type="text/javascript" src="./lib/api/Systray.js"></script>
<!-- <script type="text/javascript" src="libs/bare-mux/index.js"></script> -->
<!-- <script type="text/javascript" src="./libs/bare-mux/index.js"></script> -->
<script type="text/javascript" src="./libs/bare-mux/bare.cjs"></script>
<script type="text/javascript" src="./lib/Boot.js"></script>
<script type="module" src="./lib/bcc.js"></script>

<link rel="manifest" href="./manifest.json" />

<!-- <script type="text/javascript" src="/dist.js"></script> -->
<!-- <script type="text/javascript" src="./dist.js"></script> -->
<!-- prod only ^ -->
</head>

Expand Down
10 changes: 5 additions & 5 deletions public/uv/uv.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ self.__uv$config = {
prefix: '/service/',
encodeUrl: Ultraviolet.codec.xor.encode,
decodeUrl: Ultraviolet.codec.xor.decode,
handler: '/uv/uv.handler.js',
client: '/uv/uv.client.js',
bundle: '/uv/uv.bundle.js',
config: '/uv/uv.config.js',
sw: '/uv/uv.sw.js',
handler: './uv/uv.handler.js',
client: './uv/uv.client.js',
bundle: './uv/uv.bundle.js',
config: './uv/uv.config.js',
sw: './uv/uv.sw.js',
};
6 changes: 3 additions & 3 deletions src/Boot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,14 @@ window.addEventListener("load", async () => {

(window as any).swShared = swShared;

const comlinksrc = "/libs/comlink/comlink.min.mjs";
const comlinksrc = "./libs/comlink/comlink.min.mjs";
const comlink = await import(comlinksrc);

let conf, milestone, instancemilestone;

try {
conf = await (await fetch("/config.json")).json();
milestone = await (await fetch("/MILESTONE")).text();
conf = await (await fetch("./config.json")).json();
milestone = await (await fetch("./MILESTONE")).text();

console.debug("writing config??");
Filer.fs.writeFile("/config_cached.json", JSON.stringify(conf));
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Vendored/Comlink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Comlink extends Lib {

async getImport(version?: string): Promise<any> {
if (this.latestVersion === "0.0.0") {
this.latestVersion = await (await fetch("/libs/comlink/version")).json();
this.latestVersion = await (await fetch("./libs/comlink/version")).json();
this.versions[this.latestVersion] = await import(this.src);
}
if (!version) {
Expand Down

0 comments on commit 79f8747

Please sign in to comment.