mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 20:39:01 +00:00
24 lines
765 B
C#
24 lines
765 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.IO;
|
|
|
|
namespace Cosmos.Build.Installer {
|
|
public static class Paths {
|
|
static Paths() {
|
|
if (Global.IsX64) {
|
|
ProgFiles32 = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86);
|
|
ProgFiles64 = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles);
|
|
} else {
|
|
ProgFiles32 = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles);
|
|
}
|
|
|
|
Windows = Environment.GetFolderPath(Environment.SpecialFolder.Windows);
|
|
}
|
|
|
|
public static readonly string ProgFiles32;
|
|
public static readonly string ProgFiles64;
|
|
public static readonly string Windows;
|
|
}
|
|
}
|