File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -5,4 +5,5 @@ del funscript-editor.spec 2>NUL
55pyinstaller --add-data=" funscript_editor/config/*;funscript_editor/config" --hidden-import " pynput.keyboard._win32" --hidden-import " pynput.mouse._win32" funscript-editor.py
66xcopy /s " assets" " dist/funscript-editor"
77copy /Y " funscript_editor\\VERSION.txt" " dist\\funscript-editor\\funscript_editor"
8+ powershell Compress-Archive -LiteralPath " dist/funscript-editor" -DestinationPath " dist/funscript-editor.zip"
89
Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ SetSettings(Settings)
77function GetActions (video )
88 local at = {}
99 local pos = {}
10- local command = ' ""' .. Settings .FunscriptGenerator .. ' " --generator -s ' .. tostring (CurrentTimeMs ).. ' -i "' .. video .. ' " -o "' .. Settings .TmpFile .. ' "'
10+ local next_action = CurrentScript :GetClosestActionAfter (CurrentTimeMs )
11+ local command = ' ""' .. Settings .FunscriptGenerator .. ' " --generator -s ' .. (next_action == nil and tostring (CurrentTimeMs ) or tostring (CurrentTimeMs ).. ' -e ' .. tostring (next_action .at )).. ' -i "' .. video .. ' " -o "' .. Settings .TmpFile .. ' "'
1112 print (command )
1213 os.execute (command )
1314 local f = io.open (Settings .TmpFile )
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ function GetActions(video)
88 local at = {}
99 local pos = {}
1010 local next_action = CurrentScript :GetClosestActionAfter (CurrentTimeMs )
11- local command = ' python3 "' .. Settings .PythonScript .. ' " --generator -s ' .. ( next_action == nil and tostring (CurrentTimeMs ) or tostring (CurrentTimeMs ).. ' -e ' .. tostring (next_action .at )).. ' -i "' .. video .. ' " -o "' .. Settings .TmpFile .. ' "'
11+ local command = ' python3 "' .. Settings .PythonScript .. ' " --generator -s ' .. (next_action == nil and tostring (CurrentTimeMs ) or tostring (CurrentTimeMs ).. ' -e ' .. tostring (next_action .at )).. ' -i "' .. video .. ' " -o "' .. Settings .TmpFile .. ' "'
1212 print (command )
1313 os.execute (command )
1414 local f = io.open (Settings .TmpFile )
You can’t perform that action at this time.
0 commit comments