Fixed installer and application details for 3.3 release.

This commit is contained in:
Lorenz Cuno Klopfenstein 2011-04-04 22:54:51 +02:00
parent 2e27b1f350
commit 7cba536877
3 changed files with 10 additions and 2 deletions

View file

@ -89,6 +89,10 @@ Section "!OnTopReplica" OnTopReplica
File "..\OnTopReplica\bin\Release\OnTopReplica.exe"
File "..\OnTopReplica\bin\Release\VistaControls.dll"
;Text stuff
File "..\OnTopReplica\bin\Release\CREDITS.txt"
File "..\OnTopReplica\bin\Release\LICENSE.txt"
;Install localization files
SetOutPath "$INSTDIR\it"
File "..\OnTopReplica\bin\Release\it\OnTopReplica.resources.dll"

View file

@ -8,6 +8,7 @@ using System.Windows.Forms;
using OnTopReplica.Update;
using System.Diagnostics;
using VistaControls.TaskDialog;
using System.IO;
namespace OnTopReplica.SidePanels {
public partial class AboutPanelContents : UserControl {
@ -57,7 +58,10 @@ namespace OnTopReplica.SidePanels {
}
private void LinkCredits_click(object sender, LinkLabelLinkClickedEventArgs e) {
Process.Start("CREDITS.txt");
var exeDir = Path.GetDirectoryName(Application.ExecutablePath);
var filePath = Path.Combine(exeDir, "CREDITS.txt");
Process.Start(filePath);
}
void UpdateButton_click(object sender, System.EventArgs e) {

View file

@ -476,7 +476,7 @@ Puoi abilitare il Click-Through in futuro</value>
<comment>Link % is replaced by string AboutCreditsSourcesContent.</comment>
</data>
<data name="AboutCreditsSourcesContent" xml:space="preserve">
<value>Leggi tutti i riferimenti.</value>
<value>Leggi tutti i riferimenti</value>
</data>
<data name="AboutDividerCredits" xml:space="preserve">
<value>Ringraziamenti</value>