File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
addons/source-python/docs/source-python/source/general Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,10 @@ Manually
771. Delete the entire ``../addons/source-python/data/source-python/ `` directory.
882. Delete the ``../addons/source-python/data/source-python-data.zip `` file if present.
993. Delete the entire ``../addons/source-python/packages/source-python/ `` directory.
10- 4. Delete the entire ``../addons/source-python/docs/source-python/ `` directory.
11- 5. Delete the entire ``../addons/source-python/Python3/ `` directory.
12- 6. Continue with the :doc: `installation tutorial <installation >`.
10+ 4. Delete the entire ``../addons/source-python/packages/site-packages/ `` directory.
11+ 5. Delete the entire ``../addons/source-python/docs/source-python/ `` directory.
12+ 6. Delete the entire ``../addons/source-python/Python3/ `` directory.
13+ 7. Continue with the :doc: `installation tutorial <installation >`.
1314
1415
1516Automatically
Original file line number Diff line number Diff line change @@ -99,6 +99,7 @@ void ApplyUpdateStage2()
9999
100100 // Delete old directories
101101 DeleteDir (bfs::path (szGameDir) / SP_PACKAGE_PATH);
102+ DeleteDir (bfs::path (szGameDir) / SITE_PACKAGE_PATH);
102103 DeleteDir (bfs::path (szGameDir) / SP_DATA_PATH);
103104 DeleteDir (bfs::path (szGameDir) / SP_DOCS_PATH);
104105 DeleteDir (bfs::path (szGameDir) / PYTHON3_PATH);
Original file line number Diff line number Diff line change 3232//---------------------------------------------------------------------------------
3333#define SP_UPDATE_PATH "addons/source-python/update"
3434#define SP_PACKAGE_PATH "addons/source-python/packages/source-python"
35+ #define SITE_PACKAGE_PATH "addons/source-python/packages/site-packages"
3536#define SP_DATA_PATH "addons/source-python/data/source-python"
3637#define SP_DOCS_PATH "addons/source-python/docs/source-python"
3738#define PYTHON3_PATH "addons/source-python/Python3"
You can’t perform that action at this time.
0 commit comments