mirror of
https://github.com/JonasNilson/idle_master_extended.git
synced 2025-05-18 07:22:59 +02:00
28 lines
No EOL
666 B
C#
28 lines
No EOL
666 B
C#
using System;
|
||
using System.Collections.Generic;
|
||
using System.Linq;
|
||
using System.Threading.Tasks;
|
||
using System.Windows.Forms;
|
||
using Steamworks;
|
||
|
||
namespace steam_idle
|
||
{
|
||
static class Program
|
||
{
|
||
[STAThread]
|
||
static void Main(string[] args)
|
||
{
|
||
long appId = long.Parse(args[0]);
|
||
Environment.SetEnvironmentVariable("SteamAppId", appId.ToString());
|
||
|
||
if (!SteamAPI.Init())
|
||
{
|
||
return;
|
||
}
|
||
|
||
Application.EnableVisualStyles();
|
||
Application.SetCompatibleTextRenderingDefault(false);
|
||
Application.Run(new frmMain(appId));
|
||
}
|
||
}
|
||
} |