Skip to content

Commit 19b2634

Browse files
committed
修复-o bug
1 parent 0054035 commit 19b2634

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/compile.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
run: |
7070
cd test/gui/pebview
7171
../../../bny.exe php -d extension=ffi -d ffi.enable=true -d extension=openssl ../../../composer.phar require kingbes/pebview
72-
../../../bny.exe compile . -o pebview.exe -noterm true
72+
../../../bny.exe compile . -noterm true
7373
7474
- name: Prepare release package
7575
run: |
@@ -125,7 +125,7 @@ jobs:
125125
run: |
126126
cd test/gui/pebview
127127
../../../bny php -d extension=ffi -d ffi.enable=true ../../../composer.phar require kingbes/pebview
128-
../../../bny compile . -o pebview -noterm true
128+
../../../bny compile . -noterm true
129129
130130
- name: Prepare release package
131131
run: |
@@ -181,7 +181,7 @@ jobs:
181181
run: |
182182
cd test/gui/pebview
183183
../../../bny php -d extension=ffi -d ffi.enable=true ../../../composer.phar require kingbes/pebview
184-
../../../bny compile . -o pebview -noterm true
184+
../../../bny compile . -noterm true
185185
186186
- name: Prepare release package
187187
run: |

common/common.v

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ pub fn get_bny_config() !BnyConfig {
4848
if cmdline.option(args, '-icon', '') != '' {
4949
conf.icon = cmdline.option(args, '-icon', '')
5050
}
51+
if cmdline.option(args, '-o', '') != '' {
52+
conf.ini = cmdline.option(args, '-o', '')
53+
}
5154
return conf
5255
}
5356

0 commit comments

Comments
 (0)