mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-03 06:07:19 +02:00
Update bun
This commit is contained in:
parent
a06d061409
commit
c6acc251ae
3
build.ts
3
build.ts
@ -4,6 +4,7 @@ import { parseArgs } from "node:util";
|
||||
import { sys } from "typescript";
|
||||
import txtScriptHeader from "./src/assets/header_script.txt" with { type: "text" };
|
||||
import txtMetaHeader from "./src/assets/header_meta.txt" with { type: "text" };
|
||||
import { assert } from "node:console";
|
||||
|
||||
enum BuildTarget {
|
||||
ALL = 'all',
|
||||
@ -24,6 +25,8 @@ const postProcess = (str: string): string => {
|
||||
// Add ADDITIONAL CODE block
|
||||
str = str.replace('var DEFAULT_FLAGS', '\n/* ADDITIONAL CODE */\n\nvar DEFAULT_FLAGS');
|
||||
|
||||
assert(str.includes('/* ADDITIONAL CODE */'));
|
||||
|
||||
return str;
|
||||
}
|
||||
|
||||
|
@ -6,8 +6,8 @@
|
||||
"build": "build.ts"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/bun": "^1.1.5",
|
||||
"@types/node": "^20.14.9",
|
||||
"@types/bun": "^1.1.6",
|
||||
"@types/node": "^20.14.10",
|
||||
"@types/stylus": "^0.48.42",
|
||||
"stylus": "^0.63.0"
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user