MOI INI File Change Location
All  1-8  9-11

Previous
Next
 From:  Michael Gibson
8344.9 In reply to 8344.8 
Hi halmi,

re:
> are there drawbacks to having the entire application stored in iCloud
> as a portable, but also "kept downloaded?"

There is a big drawback to setting it up to be portable, which is that when you want to install a new version of MOI, you will have to redo the "make it portable" steps on the new version because making something portable means having everything it uses all self contained and isolated. That means that when you install a new version of the app, it can't see any settings from the previous version because they have been siloed away instead of being shared between every version which is the regular default behavior.

So I would suggest to not set it up to be portable unless you are actually taking it by USB drive to another machine to run there temporarily.

Basically if you are only making it portable so as to have a single point of backing it up, you are setting up additional work to be done in the future when you want to update to a new version.

For the purposes of backup, you would want to have your folder under "~/Library/Application Support/Moi" backed up in addition to the Moi app.

If despite this you do want to make a portable mac version there are a couple of different ways you can do it, if you right click on the MOI app and choose "Show package contents", inside there go to Contents/Resources that's where you can copy your moi.ini and moi_v4_license.key files from ~/Library/Application Support/Moi .

When MOI looks for the moi.ini file for settings, or the moi_v4_license.key file for your license key it will look inside the app bundle under Contents/Resources and use those if they have been copied there.

(Note, this info is for the Mac version).

Another way is if you create an appdata sub-folder inside app/Contents/Resources, it will look there for everything that it normally gets from ~/Library/Application Support/Moi, including the moi.ini file, moi_v4_license.key license key file, startup scripts and additional commands.

You can also supply a full path to a moi.ini or moi_v4_license.key file as a command line parameter. On Mac to call an app with command line parameters you would set up a shell script and inside there use the open command with the --args parameter I think to give it command line arguments.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  yophie
8344.10 In reply to 8344.7 
Thank you! That worked.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  halmi (HALMI65)
8344.11 In reply to 8344.9 
Thank you - I was hesitant to do either of these because of the new version issues that I pictured happening, now confirmed. Presently, I've been using SyncTime to routinely backup all the MoI associated folders into iCloud, and that's fairly painless, with advantages. Thanks again.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-8  9-11