Announcing TiddlyDesktop v0.0.13

259 views
Skip to first unread message

Jeremy Ruston

unread,
Feb 8, 2018, 2:00:17 PM2/8/18
to TiddlyWiki
I'm pleased to announce the release of v0.0.13 of TiddlyDesktop:

  • Fixed problem with downloading/exporting
  • Fixed problem with saving with TiddlyWiki Classic <= 2.6.5
  • Simplified appearance of wiki list window
  • Fixed wiki list toolbar to the top of the window
  • Removed unused menubar from Windows and Linux
  • Updated nwjs to v.0.28.1
Questions comments welcome,

Best wishes

Jeremy.

--
Jeremy Ruston
mailto:jeremy...@gmail.com

@TiddlyTweeter

unread,
Feb 8, 2018, 3:31:25 PM2/8/18
to TiddlyWiki
Ciao Jeremy

I run TiddlyDesktop from within Portable Apps ...



Except its not a fully Portable App in that configuration (for me on Windows 7) is at C:\Users\Josiah\AppData\Local\TiddlyDesktop\User Data\Default\user-config-tiddlywiki ...

... I'm not entirely clear HOW to get those config files into a sub-dir of:  C:\bag\PortableApps\tiddlydesktop or whether it can accept relative addressing so I can just put "bag" on a pendive and know it will work the same?

Best wishes
Josiah
Auto Generated Inline Image 1

Jeremy Ruston

unread,
Feb 8, 2018, 4:03:47 PM2/8/18
to tiddl...@googlegroups.com
Hi Josiah

> ... I'm not entirely clear HOW to get those config files into a sub-dir of: C:\bag\PortableApps\tiddlydesktop or whether it can accept relative addressing so I can just put "bag" on a pendive and know it will work the same?

You should be able to do use the --user-data-dir switch like this:

C:\bag\PortableApps\tiddlydesktop\nw.exe --user-data-dir C:\bag\PortableApps\tiddlydesktop\data

Best wishes

Jeremy.

@TiddlyTweeter

unread,
Mar 14, 2018, 3:13:57 PM3/14/18
to TiddlyWiki
Ciao Jeremy

For the life of me I can't get this to work. I tried several ways on Windows. None worked. The data directory remains stubbornly in the default position. Here is what I tried (from most portable to least portable).

I searched for an answer. I didn't find one yet.

nw.exe --user-data-dir .\data

C
:\bag\PortableApps\tiddlydesktop\nw.exe --user-data-dir .\data

C
:\bag\PortableApps\tiddlydesktop\nw.exe --user-data-dir C:\bag\PortableApps\tiddlydesktop\data

@TiddlyTweeter

unread,
Mar 14, 2018, 3:49:00 PM3/14/18
to TiddlyWiki
Ciao Jeremy

I had a last stab after stumbling on some online comments... and found this DOES work for Windows...

C:\bag\PortableApps\tiddlydesktop\nw.exe --user-data-dir=C:\bag\PortableApps\tiddlydesktop\data

The other options don't. So its still not portable in a way that I think could be useful to have.

Best wishes
Josiah

@TiddlyTweeter

unread,
Mar 14, 2018, 3:59:15 PM3/14/18
to TiddlyWiki
Ciao Jeremy

Excuse my sloppiness. There is no need to reply. I figured it out. It IS possible to make the settings for TiddlyDesktop portable on Windows. I will test more to make sure and document them.

Josiah

Mark S.

unread,
Mar 14, 2018, 4:46:19 PM3/14/18
to TiddlyWiki
If you're doing the short path ".\data" then you need to be in the directory above data when launching. But, you probably knew that ...

-- Mark

@TiddlyTweeter

unread,
Mar 14, 2018, 5:17:14 PM3/14/18
to TiddlyWiki
Mark S. wrote:
If you're doing the short path ".\data" then you need to be in the directory above data when launching. But, you probably knew that ...

Right. Though I can only say that now after a lot of messing about. I'm really not a geek. I'm a stabber.

The issue was that just invoking TiddlyDesktop nw.exe from the Explorer (unless you had CD'd to the run directory) would default to the OS for placement of config files. One solution would be to provide an environment variable that would in effect CD to nw.exe's home dir. The problem with that is its not easily portable.

The solution I'm testing is a batch file that detects where its being run from, whatever system it is on, so that commands can be in relative pathing from then on. So far so good.

josiah

Mark S.

unread,
Mar 14, 2018, 6:18:20 PM3/14/18
to TiddlyWiki
If everything is on the same stick, can't you use relative paths to the executable and the data dir?

Your command

C:\bag\PortableApps\tiddlydesktop\nw.exe --user-data-dir=C:\bag\PortableApps\tiddlydesktop\data

Then becomes (when launched from a bat file inside tiddlydesktop)


nw.exe --user-data-dir=.\data

Or at least I think. It should run the same then even if your copy it all to your flash and run it on j: drive or something.

Good luck!
-- Mark

@TiddlyTweeter

unread,
Mar 14, 2018, 7:05:51 PM3/14/18
to TiddlyWiki
Exactly. But to get that to work you have to ensure the "run from" position is IN the directory.

This somewhat obscure batch seems to do it... the first line changes both the disk & directory to the one the batch is run from to ensure the command works....

cd /D %~dp0
nw
.exe --user-data-dir=.\data

The IDIOT problem, of course, is I was forgetting how to address the actual wikis :-). So I maybe got a perfectly flexible, portable, setup but wikis still on absolute paths. LOL. Later.
Reply all
Reply to author
Forward
0 new messages