GNOME Bugzilla – Bug 470886
Script for execute on win and on linux with double click
Last modified: 2007-09-05 13:47:03 UTC
Write an script that executes chronojump using double click. On windows and linux, search for mono and manage path for executing it. on win: a .bat; on linux: a .sh win script started: http://lists.ximian.com/pipermail/mono-list/2007-August/036044.html It need to be mkbundled for embedding mono, and adapted to a new release file structure. Something like this: release two compressed files:chronojump-06.zip and chronojump-06.tgz both with the same content. When uncompressed: chronojump-06/ windows/ chronojump.bat chronojump_mini.bat utils/ convert_database.bat (probably) sqlite.exe (probably) sqlite3.exe (probably) linux/ chronojump.sh chronojump_mini.sh data/ chronojump.prg (main program, called by the scripts on win, lin directories) chronojump_mini.prg NPlot dlls (are they different for win and linux?) sqlite dlls (for windows) The bat files on win, and the .sh files on linux: 1)find mono; 2)fix the path; 3) run the programs write also a script that creates the tgz and the zip according to this structure.
The script cannot be run. I tried to bundle it with no success. Probably there's a need to do the script in other language and compile it natively. Probably juanfer can help on this. Other option is write a .bat, it can be prepared but not ended. For exemple, this works for me: chronojump.bat: "C:\Archivos de programa\Mono-1.2.5\bin\mono.exe" "chronojump.prg" We can ask the user to edit this line (for point to mono.exe), or ask user to install mono in a desired directory Probably the .bat can be created by a native program
Created a batch install script that creates the execute batch files. More info here and here: http://mail.gnome.org/archives/chronojump-devel-list/2007-September/msg00009.html http://lists.ximian.com/pipermail/mono-list/2007-September/036171.html On svn: -create_release.sh -installChronojumpWindows.bat -regread.bat http://svn.gnome.org/viewcvs/chronojump/trunk/ check if there are any license problems on regread.bat, and rewrite it if needed
Done, see chronojump.bat, chronojump_mini.bat and create_release.sh on the svn trunk