Skip to content

Commit a8e49e3

Browse files
committed
can not use .svg
1 parent b301c48 commit a8e49e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

publish.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ print('版本号为:' .. version)
117117

118118
print('复制 readme ...')
119119
fs.copy_file(ROOT / 'server' / 'changelog.md', ROOT / 'changelog.md', fs.copy_options.overwrite_existing)
120-
fsu.saveFile(ROOT / 'README.md', fsu.loadFile(ROOT / 'server' / 'README.md'):gsub('%!%[build%][^\r\n]*', ''))
120+
fsu.saveFile(ROOT / 'README.md', fsu.loadFile(ROOT / 'server' / 'README.md'):gsub('%.svg', '.png'))
121121

122122
local out = createDirectory('test')
123123
print('输出目录为:', out)

0 commit comments

Comments
 (0)