Skip to content

Commit 3006edb

Browse files
author
arch
committed
fix ofs path
1 parent f6e6f62 commit 3006edb

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

build_and_deploy.bat

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
REM script to build an deploy ofs extension
33
rmdir /Q /S "build" 2>NUL
44
rmdir /Q /S "dist/funscript-editor" 2>NUL
5-
rmdir /Q /S "%APPDATA%\\OFS\\OFS_data3\\extensions\\Funscript Generator Windows\\funscript-editor" 2>NUL
5+
rmdir /Q /S "%APPDATA%\\OFS\\OFS3_data\\extensions\\Funscript Generator Windows\\funscript-editor" 2>NUL
66
del "dist\\funscript-editor.zip" 2>NUL
77
del funscript-editor.spec 2>NUL
8-
del "%APPDATA%\\OFS\\OFS_data3\\extensions\\Funscript Generator Windows\\main.lua" 2>NUL
9-
del "%APPDATA%\\OFS\\OFS_data3\\extensions\\Funscript Generator Windows\\json.lua" 2>NUL
10-
if not exist "%APPDATA%\\OFS\\OFS_data3\\extensions\\Funscript Generator Windows" mkdir "%APPDATA%\\OFS\\OFS_data3\\extensions\\Funscript Generator Windows"
8+
del "%APPDATA%\\OFS\\OFS3_data\\extensions\\Funscript Generator Windows\\main.lua" 2>NUL
9+
del "%APPDATA%\\OFS\\OFS3_data\\extensions\\Funscript Generator Windows\\json.lua" 2>NUL
10+
if not exist "%APPDATA%\\OFS\\OFS3_data\\extensions\\Funscript Generator Windows" mkdir "%APPDATA%\\OFS\\OFS3_data\\extensions\\Funscript Generator Windows"
1111
cd docs/app
1212
mkdocs build
1313
cd ../..
@@ -17,6 +17,6 @@ copy /Y "funscript_editor\\VERSION.txt" "dist\\funscript-editor\\funscript_edito
1717
md "dist\\funscript-editor\\OFS"
1818
copy /Y "contrib\\Installer\\assets\\main.lua" "dist\\funscript-editor\\OFS"
1919
copy /Y "contrib\\Installer\\assets\\json.lua" "dist\\funscript-editor\\OFS"
20-
move "dist\\funscript-editor" "%APPDATA%\\OFS\\OFS_data3\\extensions\\Funscript Generator Windows\\funscript-editor"
21-
copy /Y "contrib\\Installer\\assets\\main.lua" "%APPDATA%\\OFS\\OFS_data3\\extensions\\Funscript Generator Windows"
22-
copy /Y "contrib\\Installer\\assets\\json.lua" "%APPDATA%\\OFS\\OFS_data3\\extensions\\Funscript Generator Windows"
20+
move "dist\\funscript-editor" "%APPDATA%\\OFS\\OFS3_data\\extensions\\Funscript Generator Windows\\funscript-editor"
21+
copy /Y "contrib\\Installer\\assets\\main.lua" "%APPDATA%\\OFS\\OFS3_data\\extensions\\Funscript Generator Windows"
22+
copy /Y "contrib\\Installer\\assets\\json.lua" "%APPDATA%\\OFS\\OFS3_data\\extensions\\Funscript Generator Windows"

docs/app/docs/user-guide/build.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ Path for extensions is `~/.local/share/OFS/OFS_data/extensions`
8888

8989
### OFS 2.x.x
9090

91-
Path for extensions is `~/.local/share/OFS/OFS_data2/extensions`
91+
Path for extensions is `~/.local/share/OFS/OFS2_data/extensions`
9292

9393
### OFS 3.x.x
9494

95-
Path for extensions is `~/.local/share/OFS/OFS_data3/extensions`
95+
Path for extensions is `~/.local/share/OFS/OFS3_data/extensions`

docs/app/docs/user-guide/developer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Sometimes it is useful to test new functions and verify the correctness of chang
88

99
### Installation
1010

11-
There is no automated way to install the prereleases since they are indented for developer and technical experienced test users. To install the prerealese you have to extract the downloaded Prerelease to `%APPDATA%\OFS\OFS_dataX\extensions\Funscript Generator Windows\funscript-editor`. Therefore first delete the `funscript-editor` folder in `%APPDATA%\OFS\OFS_dataX\extensions\Funscript Generator Windows`. And create a new one with the content of the Prerelease. The preerelease now can be used as OFS extension. Note: For prereleases the version may be displayed incorrectly because there is no official release tag. To switch back to the latest official release delete the `funscript-editor` folder in `%APPDATA%\OFS\OFS_dataX\extensions\Funscript Generator Windows` and run the `mtfg-ofs-extension-installer.exe` from [latest GitHub release](https://github.com/michael-mueller-git/Python-Funscript-Editor/releases/tag/latest).
11+
There is no automated way to install the prereleases since they are indented for developer and technical experienced test users. To install the prerealese you have to extract the downloaded Prerelease to `%APPDATA%\OFS\OFSX_data\extensions\Funscript Generator Windows\funscript-editor`. Therefore first delete the `funscript-editor` folder in `%APPDATA%\OFS\OFSX_data\extensions\Funscript Generator Windows`. And create a new one with the content of the Prerelease. The preerelease now can be used as OFS extension. Note: For prereleases the version may be displayed incorrectly because there is no official release tag. To switch back to the latest official release delete the `funscript-editor` folder in `%APPDATA%\OFS\OFSX_data\extensions\Funscript Generator Windows` and run the `mtfg-ofs-extension-installer.exe` from [latest GitHub release](https://github.com/michael-mueller-git/Python-Funscript-Editor/releases/tag/latest).
1212

1313
## Development on Windows
1414

docs/app/docs/user-guide/ofs-integration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Installation Windows (Easy)
44

5-
This method use an installer that check for the latest release on GitHub and automatically update the existing Motion Tracking Funscript Generator (MTFG) OFS Extension on your computer. If you want to make an clean install of the MTFG OFS Extension you can delete the existing folder `Funscript Generator Windows` in `%APPDATA%\OFS\OFS_dataX\extensions` (the `X` in `OFS_dataX` is an placeholder for your OFS Version) before running the installer.
5+
This method use an installer that check for the latest release on GitHub and automatically update the existing Motion Tracking Funscript Generator (MTFG) OFS Extension on your computer. If you want to make an clean install of the MTFG OFS Extension you can delete the existing folder `Funscript Generator Windows` in `%APPDATA%\OFS\OFSX_data\extensions` (the `X` in `OFSX_data` is an placeholder for your OFS Version) before running the installer.
66

77
**Installation:**
88

@@ -27,7 +27,7 @@ This method use an installer that check for the latest release on GitHub and aut
2727

2828
This section for technical interested people who want to understand the installation process. The source code of the installer is in the [`contrib/Installer`](https://github.com/michael-mueller-git/Python-Funscript-Editor/tree/main/contrib/Installer) directory of this repository. The installer perform the following Steps:
2929

30-
1. Check if the OFS Extension Directory `%APPDATA%\OFS\OFS_dataX\extensions` exists (the `X` in `OFS_dataX` is an placeholder for your OFS Version).
30+
1. Check if the OFS Extension Directory `%APPDATA%\OFS\OFSX_data\extensions` exists (the `X` in `OFSX_data` is an placeholder for your OFS Version).
3131
2. Fetch the latest release Version from github rest api.
3232
3. Check if an (older) MTFG Version is already installed in the OFS Extension Directory: If we have already the latest version installed, we are done here
3333
4. The installer download the latest release version from github.
@@ -51,7 +51,7 @@ Manual Installation:
5151
<br> ![Install OFS](./images/ofs_installation_03.jpg)
5252
3. Start OFS at least once and close it again.
5353
<br> ![Start OFS](./images/ofs_installation_04.jpg)
54-
4. Determine OFS extension directory in `%APPDATA%\OFS`. For OFS Version 3 the `OFS_EXTENSION_PATH` is `%APPDATA%\OFS\OFS_data3\extension`.
54+
4. Determine OFS extension directory in `%APPDATA%\OFS`. For OFS Version 3 the `OFS_EXTENSION_PATH` is `%APPDATA%\OFS\OFS3_data\extension`.
5555
5. Download the application `funscript-editor_vx.x.x.zip` from `https://github.com/michael-mueller-git/Python-Funscript-Editor/releases`.
5656
6. Open your File Explorer and navigate to `%OFS_EXTENSION_PATH%` (determined in step 4).
5757
7. Create an directory for the Extension with the name `Funscript Generator Windows`.

0 commit comments

Comments
 (0)