51 lines
1.1 KiB
Plaintext
Executable File
51 lines
1.1 KiB
Plaintext
Executable File
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Reflection;
|
|
using System.Reflection.Emit;
|
|
using System.Security.Cryptography;
|
|
using System.Text;
|
|
using System.Text.RegularExpressions;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace OozyBuild
|
|
{
|
|
public class ExampleSettings : CustomSettings
|
|
{
|
|
public bool Poo { get; set; }
|
|
}
|
|
|
|
public class ExampleProject : Project
|
|
{
|
|
bool setInitialSettings = false;
|
|
|
|
static readonly string Extension = ".ExampleExtension";
|
|
|
|
public ExampleProject()
|
|
{
|
|
//Don't load a project script from the default location ( alongside exe )
|
|
// useDefaultScript = false;
|
|
}
|
|
|
|
public override void Init()
|
|
{
|
|
}
|
|
|
|
public override void OnSelected( /*MainWindow main*/ )
|
|
{
|
|
if( !setInitialSettings )
|
|
{
|
|
customSettings = new ExampleSettings();
|
|
setInitialSettings = true;
|
|
}
|
|
}
|
|
|
|
public override bool GeneratePackageBuild( Builder builder, BuildParams buildParams )
|
|
{
|
|
return base.GeneratePackageBuild(builder, buildParams);
|
|
}
|
|
}
|
|
}
|