mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-21 12:53:56 +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:
|
env:
|
||||||
ARCHIVE_URL: ${{ github.event.inputs.archive_url }}
|
ARCHIVE_URL: ${{ github.event.inputs.archive_url }}
|
||||||
run: |
|
run: |
|
||||||
|
mkdir -p temp/game
|
||||||
wget -q -O temp/archive.zip $ARCHIVE_URL
|
wget -q -O temp/archive.zip $ARCHIVE_URL
|
||||||
unzip -q temp/archive.zip -d temp/archive
|
unzip -q temp/archive.zip -d temp/archive
|
||||||
rm temp/archive.zip
|
rm temp/archive.zip
|
||||||
mkdir -p temp/game
|
|
||||||
mv temp/archive/app/* temp/game
|
mv temp/archive/app/* temp/game
|
||||||
|
|
||||||
- name: (WGPKG) Download client
|
- name: (WGPKG) Download client
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ const exec = promisify(execSync);
|
|||||||
|
|
||||||
let executableFileExtension: string;
|
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";
|
executableFileExtension = ".exe";
|
||||||
} else {
|
} else {
|
||||||
executableFileExtension = "";
|
executableFileExtension = "";
|
||||||
@@ -32,7 +32,7 @@ for (const root of roots) {
|
|||||||
while (files.length > 0) {
|
while (files.length > 0) {
|
||||||
let command = [
|
let command = [
|
||||||
"protoc",
|
"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=esModuleInterop=true",
|
||||||
"--ts_proto_opt=oneof=unions-value",
|
"--ts_proto_opt=oneof=unions-value",
|
||||||
// "--ts_proto_opt=removeEnumPrefix=true",
|
// "--ts_proto_opt=removeEnumPrefix=true",
|
||||||
|
|||||||
Reference in new issue
Block a user