idle_master_extended/steam-idle Source/steam-idle/Program.cs
Jonas Nilson 1113bd34fa
Rebuild/steam idle executable (#435)
# steam-idle rebuilt

## Rebuilt steam-idle.exe
- HTTPS
- Steamworks.NET 20.2.0
- Form renamed

## Idle Master Extended rebuilt with rebuilt steam-idle
+ x64 Steamworks
2023-09-18 16:00:32 +02:00

25 lines
No EOL
589 B
C#
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
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 FormSteamIdle(appId));
}
}
}