mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-10 03:06:11 +01:00
Compare commits
4
Commits
975d579d21
...
d4e1f99ce2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d4e1f99ce2 | ||
|
|
98de246578 | ||
|
|
45097f198c | ||
|
|
e063719caa |
No files matched your search
@@ -117,10 +117,10 @@ jobs:
|
||||
env:
|
||||
ARCHIVE_URL: ${{ github.event.inputs.archive_url }}
|
||||
run: |
|
||||
mkdir -p temp/game
|
||||
wget -q -O temp/archive.zip $ARCHIVE_URL
|
||||
unzip -q temp/archive.zip -d temp/archive
|
||||
rm temp/archive.zip
|
||||
mkdir -p temp/game
|
||||
mv temp/archive/app/* temp/game
|
||||
|
||||
- name: (WGPKG) Download client
|
||||
|
||||
@@ -14,7 +14,7 @@ const exec = promisify(execSync);
|
||||
|
||||
let executableFileExtension: string;
|
||||
|
||||
if (existsSync("node_modules/.bin/protoc-gen-ts_proto.exe")) {
|
||||
if (existsSync("../../node_modules/.bin/protoc-gen-ts_proto.exe")) {
|
||||
executableFileExtension = ".exe";
|
||||
} else {
|
||||
executableFileExtension = "";
|
||||
@@ -32,7 +32,7 @@ for (const root of roots) {
|
||||
while (files.length > 0) {
|
||||
let command = [
|
||||
"protoc",
|
||||
`--plugin=./node_modules/.bin/protoc-gen-ts_proto${executableFileExtension}`,
|
||||
`--plugin=../../node_modules/.bin/protoc-gen-ts_proto${executableFileExtension}`,
|
||||
"--ts_proto_opt=esModuleInterop=true",
|
||||
"--ts_proto_opt=oneof=unions-value",
|
||||
// "--ts_proto_opt=removeEnumPrefix=true",
|
||||
|
||||
Reference in new issue
Block a user