Skip to content

This program launches a shortcut. Yes you read that right, It exists becuase some other "program" is dumb.

License

Notifications You must be signed in to change notification settings

wolfgangvc/AppLaunch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AppLaunch

This program launches a shortcut. Yes you read that right, It exists becuase some other "program" is dumb.

This is the entire code.

Decompile the release if you want to check but seriously WHY AM DOING THIS

using System.IO;
using System.Diagnostics;

namespace Applaunch
{
    class Program
    {
        static void Main(string[] args)
        {
            string fileName = Process.GetCurrentProcess().MainModule.FileName;
            fileName = Path.GetFileNameWithoutExtension(fileName) + ".lnk";
            if (File.Exists(fileName))
            {
                Process proc = new Process();
                proc.StartInfo.FileName = fileName;
                proc.Start();
            }
        }
    }
}

About

This program launches a shortcut. Yes you read that right, It exists becuase some other "program" is dumb.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages