User Tools

Site Tools


en:documentation:make_a_portable_installation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:documentation:make_a_portable_installation [2014/02/09 16:39] – [Make a script to run on Linux with Wine] pchen:documentation:make_a_portable_installation [2015/11/06 20:43] (current) – external edit 127.0.0.1
Line 20: Line 20:
 </code> </code>
  
-**2)** Download the Skychart  **Windows zip** from the [[en:download|Download]] page. Save the zip file in the folder **E:\portable_skychart\Ciel\**+**2)** Download the Skychart  **Windows zip** from the [[en:download|Download]] page. Save the zip file in the folder **E:\portable_skychart\Ciel\**.
  
 **3)** Extract the zip file in this folder: **3)** Extract the zip file in this folder:
Line 63: Line 63:
  
 ==== Make a script to run on Linux with Wine ==== ==== Make a script to run on Linux with Wine ====
 +
 +Mount the configured USB key on your Linux system.
  
 <code>cd /media/my-usb-key/portable_skychart <code>cd /media/my-usb-key/portable_skychart
Line 69: Line 71:
 <file> <file>
 #!/bin/bash #!/bin/bash
-basedir=$(wine cmd /C cd) +wine cmd /C skychart.cmd
-basedir=${basedir%$'\r'+
-wine "$basedir\\Ciel\\skychart.exe" "--config=$basedir\\userdata\\skychart.ini"  "--userdir=$basedir\\userdata"+
        
 </file> </file>
en/documentation/make_a_portable_installation.1391960359.txt.gz · Last modified: 2015/11/06 20:33 (external edit)