Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/hakchi2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-05-07 22:18:04 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-05-07 22:24:39 +0300
commitdf556366579cbe9c28bb71a876c64e7b90f3ebf7 (patch)
treeebaa6aca25f8b184906a1dc37f853cad2f385b19 /NesMenuFolder.cs
parent78d43197c2c7dfc778d2fd044ab9112e40d33a6a (diff)
ClickOnce ready. Finally installer and auto update.
Diffstat (limited to 'NesMenuFolder.cs')
-rw-r--r--NesMenuFolder.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/NesMenuFolder.cs b/NesMenuFolder.cs
index 1de924dd..8f5db232 100644
--- a/NesMenuFolder.cs
+++ b/NesMenuFolder.cs
@@ -12,7 +12,7 @@ namespace com.clusterrr.hakchi_gui
{
static Random rnd = new Random();
static ResourceManager rm = Resources.ResourceManager;
- public static readonly string FolderImagesDirectory = Path.Combine(Path.GetDirectoryName(Application.ExecutablePath), "folder_images");
+ public static readonly string FolderImagesDirectory = Path.Combine(Program.BaseDirectoryExternal, "folder_images");
private int childIndex = 0;
@@ -195,7 +195,7 @@ namespace com.clusterrr.hakchi_gui
get { return imageId; }
set
{
- var folderImagesDirectory = Path.Combine(Path.GetDirectoryName(Application.ExecutablePath), "folder_images");
+ var folderImagesDirectory = Path.Combine(Program.BaseDirectoryExternal, "folder_images");
var filePath = Path.Combine(folderImagesDirectory, value + ".png");
if (File.Exists(filePath))
image = NesMiniApplication.LoadBitmap(filePath);