seegit
seegit copied to clipboard
Installer?
Should we create an installer?
I say we do and publish it on seegit.github.io :D
SeeGit also could be installed through chocolatey.org
@marisks YES! Let's do that. :) Want to help?
I would like to help with creating Chocolatey package.
I think that at first only portable version should be created. For that only ZIP archive with executables will be needed. Could you upload such archive for Release 1.0?
I have created Chocolatey package, but there is an issue with running SeeGit from command line. SeeGit can be run only from directory it resides. The issue is with configuration reading - it tries to read config from current directory, but not the application directory. In Settings.cs ConfigurationManager.OpenMappedExeConfiguration is used to read configuration:
public Settings()
{
var fileMap = new ExeConfigurationFileMap();
fileMap.ExeConfigFilename = @"SeeGit.exe.config";
_config = ConfigurationManager.OpenMappedExeConfiguration(fileMap, ConfigurationUserLevel.None);
if (!_config.HasFile)
throw new ConfigurationErrorsException("Config file not found.");
}
But ConfigurationManager.OpenMappedExeConfiguration reads configuration from current directory and not from application directory. Is there any reason to use OpenMappedExeConfiguration instead of OpenExeConfiguration? OpenExeConfiguration reads application config from application directory. The only difference is that you can't provide different file name.
Is there any reason to use OpenMappedExeConfiguration instead of OpenExeConfiguration?
Umm, I have no idea honestly. :stuck_out_tongue:
I'm fine with changing it to OpenExeConfiguration
if it makes it work with Chocolatey.
Let's use Squirrel! http://github.com/squirrel/squirrel.windows