File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,14 +32,18 @@ jobs:
3232 - name : Installing Python3
3333 uses : actions/setup-python@v4
3434 with :
35- python-version : " 3.10 "
35+ python-version : " 3.11 "
3636 cache : " pip"
3737
3838 - name : Setting up Node.js
3939 uses : actions/setup-node@v3
4040
4141 - name : Installing dependencies
4242 run : |
43+ if [ "$RUNNER_OS" == "Linux" ]; then
44+ sudo update-alternatives --install /usr/bin/python python /opt/hostedtoolcache/Python/3.11.2/x64/bin/python3.11 1
45+ sudo update-alternatives --install /usr/bin/python3 python3 /opt/hostedtoolcache/Python/3.11.2/x64/bin/python3.11 1
46+ fi
4347 python3 -m venv venv
4448 if [ "$RUNNER_OS" == "Linux" ]; then
4549 source venv/bin/activate
7983 run : |
8084 if [ "$RUNNER_OS" == "Linux" ]; then
8185 source venv/bin/activate
82- python3.10 build_exe.py
86+ python3 build_exe.py
8387 elif [ "$RUNNER_OS" == "Windows" ]; then
8488 venv/Scripts/activate.bat
8589 python3 build_exe.py
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ if Path(".electron").exists():
4141 datas += [(".electron" , "electron" )]
4242
4343if my_os == "Linux" :
44- datas += [("venv/lib/python3.10 /site-packages/libpcap" , "libpcap" )]
44+ datas += [("venv/lib/python3.11 /site-packages/libpcap" , "libpcap" )]
4545
4646datas += [(".compiled" , ".compiled" )]
4747
Original file line number Diff line number Diff line change 1- __version__ = "2023.3.39 "
1+ __version__ = "2023.3.40 "
You can’t perform that action at this time.
0 commit comments