Skip to content

Commit

Permalink
Using different path separator in Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jondy committed Apr 28, 2024
1 parent 8eb5d64 commit 2b79903
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/topic/repack.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ PyInstaller_ 需要通过分析脚本源代码找到所有的依赖模块和包

$ pyarmor cfg pack:pyi_options + "--add-data joker/config.json:joker"

在 Windows 系统下面,如果命令行出错,请使用 ``;`` 替换路径分隔符 ``:``::

C:/User/test> pyarmor cfg pack:pyi_options + "--add-data joker/config.json;joker"

上面的三个配置命令可以合并成为一条命令::

$ pyarmor cfg pack:pyi_options = " -w -i favion.ico --add-data joker/config.json:joker"
Expand Down

0 comments on commit 2b79903

Please sign in to comment.