Prechádzať zdrojové kódy

cmake: Use `https://www.example.com` as placeholder

`mywebsite.com` redirects to a phishing/tech support scam, see
https://github.com/obsproject/obs-plugintemplate/issues/70 for details.
Instead use `example.com`, which is reserved by IANA specifically for
use as an example/placeholder.
QwertyChouskie 2 rokov pred
rodič
commit
853fa6bd5f

+ 3 - 0
CMakeLists.txt

@@ -9,6 +9,9 @@ add_library(${CMAKE_PROJECT_NAME} MODULE)
 # author of the plugin (in the plugin's metadata itself and in the installers)
 set(PLUGIN_AUTHOR "Your Name Here")
 
+# Replace 'https://www.example.com` with a link to the website of your plugin or repository
+set(PLUGIN_WEBSITE "https://www.example.com")
+
 # Replace `com.example.obs-plugin-template` with a unique Bundle ID for macOS releases (used both in
 # the installer and when submitting the installer for notarization)
 set(MACOS_BUNDLEID "com.example.${CMAKE_PROJECT_NAME}")

+ 1 - 1
cmake/bundle/windows/installer-Windows.iss.in

@@ -1,7 +1,7 @@
 #define MyAppName "@CMAKE_PROJECT_NAME@"
 #define MyAppVersion "@CMAKE_PROJECT_VERSION@"
 #define MyAppPublisher "@PLUGIN_AUTHOR@"
-#define MyAppURL "http://www.mywebsite.com"
+#define MyAppURL "@PLUGIN_WEBSITE@"
 
 [Setup]
 ; NOTE: The value of AppId uniquely identifies this application.