Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Reflection;
- namespace setupapkaextool
- {
- class Program
- {
- public static void Pause() { Console.WriteLine("Hit enter to continue."); Console.Read(); }
- static void Main(string[] args)
- {
- string installPath = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location);
- installPath = installPath.Replace("\\", "\\\\");
- string text = System.IO.File.ReadAllText(@"registrykeys");
- text = text.Replace("F:\\\\ApkAexTool", installPath);
- System.IO.File.WriteAllText(@"install.reg", text);
- Console.WriteLine(text);
- Pause();
- System.Environment.Exit(1);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement