Schrijvers Luc
Schrijvers Luc
> I see the sidebar icons (and Copy icon in the About dlg) are missing … it means that app cannot find its folder “data”. This is done with a...
> File proc_globdata.pas . Search there for Haiku default path… I am not at home to tell more. So far haven't figure out how to separate AppDir_Data (only data) from...
Although it launches fine and looks OK getting some output when launched from Terminal with different python versions (only python3.7 produces no errors), first launch (python3.9), second launch (python3.7), third...
Created a 32bit release at: https://github.com/Begasus/CudaText-Haikuports/releases/tag/1.195.0.6 (still no luck on 64bit) For this I created a new repository not containing unneeded clutter. Added a release note at the forum: https://discuss.haiku-os.org/t/new-updated-in-haikudepot/4169/359?u=begasus
```diff index a7ba2d1..2e60d4b 100644 --- a/app/proc_globdata.pas +++ b/app/proc_globdata.pas @@ -1565,6 +1565,9 @@ begin OpDirExe:= ExtractFileDir(OpFileExe); OpDirPrecopy:= GetDirPrecopy; OpDirLocal:= OpDirExe; + {$ifdef haiku} + OpDirLocal:= '/boot/system/data/cudatext'; + {$endif} {$ifdef windows} InitDirs_Windows;...
Even if I add AppDir_Py and AppDir_Data in the procedure they overuled by the lines here: https://github.com/Alexey-T/CudaText/blob/e0ac522dc381ebb08a963f21942af4b4c90f7fa8/app/proc_globdata.pas#L1625 A variant of my first attempt seems to work, but as you mentioned...
> Ok, diff looks correct. But installer must place actual dirs there - /boot/system/data/…… - does installer do it? Yeah, when creating the package data will be installed in $dataDir...
Checking on both arch's now that that is possible, thanks so far!
Hold off on changes for now :) still figuring out some things. Changed AppDir_Py and AppDir_Data again to writable location (that works for installing add-ons importing python ...) (progress :)...
@smallstepforman check something like https://github.com/haikuports/haikuports/blob/f85fb2d8ddbc31ce149a3395a48ff1cca61c05c9/dev-games/mygui/additional-files/font_editor.rdef.in