mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Fix Win32 Sample
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
#include "constants.h"
|
#include "constants.h"
|
||||||
#include "Velopack.h"
|
#include "Velopack.hpp"
|
||||||
|
|
||||||
#pragma comment(linker, \
|
#pragma comment(linker, \
|
||||||
"\"/manifestdependency:type='Win32' "\
|
"\"/manifestdependency:type='Win32' "\
|
||||||
@@ -57,7 +57,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE hInstance,
|
|||||||
|
|
||||||
// Initialize Velopack log capture
|
// Initialize Velopack log capture
|
||||||
std::cout << "Velopack C++ Sample App" << std::endl;
|
std::cout << "Velopack C++ Sample App" << std::endl;
|
||||||
vpkc_set_logger(handle_vpkc_log);
|
vpkc_set_logger(handle_vpkc_log, 0);
|
||||||
|
|
||||||
// This should run as early as possible in the main method.
|
// This should run as early as possible in the main method.
|
||||||
// Velopack may exit / restart the app at this point.
|
// Velopack may exit / restart the app at this point.
|
||||||
|
|||||||
Reference in New Issue
Block a user