ghostwriter

Submit portable freeware that you find here. It helps if you include information like description, extraction instruction, Unicode support, whether it writes to the registry, and so on.
Message
Author
User avatar
webfork
Posts: 8510
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: ghostwriter

#16 Post by webfork » Sun Feb 17, 2019 8:30 pm


User avatar
Midas
Posts: 4743
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: ghostwriter

#17 Post by Midas » Mon Feb 18, 2019 4:38 am

With some bad news(?):
Windows Download

A volunteer has kindly stepped up to provide a Windows installer here:

https://github.com/michelolvera/vs-ghostwriter

Since I will no longer be able to provide new releases of ghostwriter for Windows personally, please consider helping out our volunteer at issue #367 if you are interested.

User avatar
webfork
Posts: 8510
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: ghostwriter

#18 Post by webfork » Mon Feb 18, 2019 12:04 pm

Midas wrote:
Mon Feb 18, 2019 4:38 am
I will no longer be able to provide new releases of ghostwriter for Windows personally
Ouch.

User avatar
Midas
Posts: 4743
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: vs-ghostwriter

#19 Post by Midas » Tue May 28, 2019 4:27 am

There's hope, still... :)

vs-ghostwriter [is] a fork of Ghostwriter. A beautiful cross-platform markdown editor, however this fork is intended to be compiled into VS 2017 (MSVC) x64 for Windows only. This repository arises from the need to have a Ghostwriter functional Windows version because, as announced by wereturtle, will no longer provide updates for Windows.


Latest vs-ghostwriter is v1.8.0, dated 2019-05-15 (https://github.com/michelolvera/vs-ghostwriter/releases).

hamasaki
Posts: 51
Joined: Tue Apr 23, 2013 11:16 pm

Re: ghostwriter

#20 Post by hamasaki » Thu Aug 29, 2019 10:09 am

Yes, Ghostwriter isn`t portable. Cutemarked portable is also not portable.

User avatar
webfork
Posts: 8510
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: ghostwriter

#21 Post by webfork » Fri Aug 30, 2019 6:03 pm

hamasaki wrote:
Thu Aug 29, 2019 10:09 am
Yes, Ghostwriter isn`t portable.
Earlier posts seem to suggest that it was. Where is writing settings now?

hamasaki
Posts: 51
Joined: Tue Apr 23, 2013 11:16 pm

Re: ghostwriter

#22 Post by hamasaki » Sun Sep 01, 2019 5:56 am

Yes, it definitely used to be. For me it was writing to both 'AppData/Local' and 'AppData/Roaming'. I`ve ditched it now.

User avatar
Midas
Posts: 4743
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: ghostwriter

#23 Post by Midas » Mon Sep 02, 2019 5:12 am

FYI, I found no traces at either location after running Ghostwriter v1.6.2, one of the last official portable versions -- only v1.7.0 and 1.7.1 were released afterwards, which I haven't tested.

Are you sure it doesn't keep its settings when moved?

hamasaki
Posts: 51
Joined: Tue Apr 23, 2013 11:16 pm

Re: ghostwriter

#24 Post by hamasaki » Mon Sep 02, 2019 9:19 am

I`ve just downloaded the so called portable version of '1.8.0'. Added it to my portable drive, ran it and it creates a load of files/folders at:

AppData\Local\ghostwriter\ghostwriter\*
AppData\Roaming\ghostwriter\*

So, totally not portable.

User avatar
Midas
Posts: 4743
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: vs-ghostwriter

#25 Post by Midas » Mon Sep 02, 2019 9:28 am

So you now confirmed that we are talking about vs-ghostwriter, the forked version of the previous ghostwriter.

What you haven't confirmed is that vs-ghostwriter v1.8.0 leaves its settings behind when you move computers.

You see, having traces in '%APPDATA%' is not at all the same as not being portable.

hamasaki
Posts: 51
Joined: Tue Apr 23, 2013 11:16 pm

Re: ghostwriter

#26 Post by hamasaki » Mon Sep 02, 2019 4:07 pm

Understand. If I plug the drive into my other laptop, the appData folders remain on the previous laptop. And the settings aren`t transferred.

Actually, there are a number of things that happen with my external drive that I can`t figure out. For example, Thunderbird portable. If I run it on laptop A it's ok, I then unplug the drive and plug it into laptop B, still ok. But then I plug it back into laptop A and the setup dialog appears as though it's the first time I'm running Thunderbird. This happens with Google Chrome, Firefox, KeePass etc. Permissions?

QOwnNotes, whenever I run the exe the setup dialog appears. With the --portable flag it's ok.

I can`t figure these issues out at the moment. Sorry for going slightly off topic. :(

User avatar
Midas
Posts: 4743
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: ghostwriter

#27 Post by Midas » Tue Sep 03, 2019 1:52 am

No problem, it's good to share info. 8)

You can test this in the same computer, too. Suppose you open up vs-ghostwriter, make changes to the default configuration, and close it. After this, you go to '%APPDATA%' and manually delete all the traces it left there.

Now, when you open vs-ghostwriter again, are your configuration changes gone? If this is the case then it's definitely a portability problem.

If not -- and while they may still be stored somewhere else outside of the program's folder -- it's probably just a matter of the program not being fully stealth.

hamasaki
Posts: 51
Joined: Tue Apr 23, 2013 11:16 pm

Re: ghostwriter

#28 Post by hamasaki » Tue Sep 03, 2019 6:38 am

Thanks Midas. :)

OK, so cleared all folders and started from scratch.

1. On opening 'Ghostwriter', it creates the following the following in 'appData/roaming':

roaming.png
roaming.png (1.76 KiB) Viewed 2424 times

and the following in 'AppData/local'

local.png
local.png (4.66 KiB) Viewed 2424 times

2. If I change the settings and save, it adds one more file:

appData/roaming/ghostwriter.ini

3. I then delete 'appData/roaming/ghostwriter' and 'appData/local/ghostwriter' folders, run again and all settings are gone.

User avatar
Midas
Posts: 4743
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: ghostwriter

#29 Post by Midas » Tue Sep 03, 2019 8:28 am

Yep, contrary to the original ghostwriter, vs-ghostwriter is definitely not natively portable, especially considering point 2. :|

Let's approach the next steps.

Was there a mention about running vs-ghostwriter with a "--portable" parameter or am I mistaken?

If this is the case and all else fails, a batch command file (BAT/CMD) or a yaP launcher will ensure that vs-ghostwriter is always run with the "--portable" parameter; if not, there'll be other ways.

What about if you just place an empty 'ghostwriter.ini' in the program folder, the one where 'ghostwriter.exe' is? Or move the one created in '%APPDATA%' to the program folder?

Please, remember to remove everything in '%APPDATA%\ghostwriter' between tests.

hamasaki
Posts: 51
Joined: Tue Apr 23, 2013 11:16 pm

Re: ghostwriter

#30 Post by hamasaki » Tue Sep 03, 2019 5:18 pm

Midas wrote:
Tue Sep 03, 2019 8:28 am
Was there a mention about running vs-ghostwriter with a "--portable" parameter or am I mistaken?
No, nothing. No mention in the readme or anywhere else. I tried it, but same result.
Midas wrote:
Tue Sep 03, 2019 8:28 am
What about if you just place an empty 'ghostwriter.ini' in the program folder, the one where 'ghostwriter.exe' is? Or move the one created in '%APPDATA%' to the program folder?
Same result. Moving the data or creating a ini file before launch does nothing, everything still gets created in the appData folders.

But, the previous version had a 'data' folder, so I tried creating a 'data' folder and moving the files there, that has had a result. Now the 'appData/roaming' folder doesn`t get created and settings are saved to the 'data' folder. :)

The 'appData/local' folder still gets created, but I can live with that, at least the settings get saved now to the portable drive.

Thanks for the help Midas, really appreciate it.

Post Reply