mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-27 02:01:42 +00:00
[processstarter] Handle Elastic and AdvantageScope (#8068)
Since they are in different directories, they need to be special cased This is needed to support wpilibsuite/WPILibInstaller-Avalonia#492, since those are currently handled by special scripts.
This commit is contained in:
15
processstarter/src/main/native/windows/main.h
Normal file
15
processstarter/src/main/native/windows/main.h
Normal file
@@ -0,0 +1,15 @@
|
||||
// Copyright (c) FIRST and other WPILib contributors.
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#include <filesystem>
|
||||
#include <string>
|
||||
|
||||
int StartExeTool(std::filesystem::path& ExePath);
|
||||
int StartJavaTool(std::filesystem::path& ExePath);
|
||||
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
|
||||
LPTSTR pCmdLine, int nCmdShow);
|
||||
Reference in New Issue
Block a user