Building the PAF package would need to be added to continuous integration, which requires development work and maintenance work, and again it’s not a good use of our time.
If someone, you or someone else, can add this to CI and maintain it over time, then maybe, but otherwise I don’t see that happening. We can’t put that much effort in supporting a platform, when those who own the platform are no longer around.
You make a few points here which I would like more explanation on but for now have you seen the post by John on the end of our thread over in PortableApps?
I thought maybe their scripts are out-dated and there's some incompatibility with nsis but not sure. I won't look more into it for now, but if you want to give it a try, all the files that need to be packaged are there: joplin/Tools/PortableAppsLauncher at master · laurent22/joplin · GitHub
You just need to put the latest portable version of Joplin in App\Joplin\Joplin.exe, then in theory you can select the whole folder with the portableapps.com_installer app and it will build the paf package for you. In theory, because I couldn't get it to work.
That’s great, if you could post your findings I think as a first step we could manually build a release and send it to PortableApps. Then if the app can be accepted we’ll see about automating the process.
; Script to make latest PAF version of JoplinPortable using previous RAL 2020-04-11
; done for Laurent at Joplin
; start by downloading:
; latest Joplin Portable version
; from https://joplinapp.org/
; last Dev Test to get files and structure
; from https://portableapps.com/node/58085
#include <FileConstants.au3.>
$testDir = "D:\PA.c\PortableApps\JoplinPortableDevTest1"
$downloadDir = "D:\Roger\Downloads"
FileChangeDir($downloadDir)
; don't know how to download the files from
; https://github.com/laurent22/joplin/tree/master/Tools/PortableAppsLauncher
; so lets use the ones in the last PortableApps dev test at portableapps.com/node/58085
RunWait("JoplinPortable_1.0.85.0.paf.exe") ; have files extracted in Downloads
DirMove($downloadDir & "\JoplinPortable", $testDir)
; check files and structure in $testDir match Laurent's master ones
MsgBox(0, "MakePAF", "Check all files the same") ; they did bar he hasn't a Data dir
$version = FileGetVersion("JoplinPortable.exe", $FV_PRODUCTVERSION) ; gets 3 digit version
FileChangeDir($testDir)
; Important - update appinfo.ini. version no. strings.
IniWrite("App\AppInfo\appinfo.ini", "Version", "PackageVersion", $version & ".0") ; has to be 4 digits or Installer Creater errors
; this one 'names' the final PAF file
IniWrite("App\AppInfo\appinfo.ini", "Version", "DisplayVersion", $version & " Dev Test 1")
; place the latest JoplinPortable in the App dir
FileMove($downloadDir & "\JoplinPortable.exe", "App\Joplin\Joplin.exe", $FC_OVERWRITE )
FileChangeDir ("..") ; up to PortableApps to run the installer creator
RunWait("PortableApps.comInstaller\PortableApps.comInstaller.exe") ; latest is version 3.5.16
RunWait("JoplinPortable_1.0.197_Dev_Test_1.paf") ; ran fine and Joplin started
Exit
Not so easy to read without the colouring, hope it helps
I am at a loss to know what to suggest. (if you were on a Windows box I would suggest TeamViewing in!)
I have PortableApps Installer 3.5.16 installed next to the JoplinPortable folder and starting PortableApps.comInstaller.exe always works. Moving one of them up or down a level still works. Maybe there is some corruption in your PortableApps Installer? I would download PortableApps.comInstaller_3.5.16.paf.exe and run it to install a fresh copy. If that doesn’t work then there has to be something wrong in it’s access to your master files.
I am trying to combine this with other issues related to the "Portable" version of Joplin in the hope that a solution will be found sooner; if you have any comments/suggestions, please see