1/* Aseprite
2 Copyright (C) 2020-2022 Igara Studio S.A.
3
4 This program is distributed under the terms of
5 the End-User License Agreement for Aseprite. */
6
7#include "ver/info.h"
8#include "generated_version.h" /* It defines the VERSION macro */
9
10#define PACKAGE "Aseprite"
11#define COPYRIGHT "Copyright (C) 2001-2022 Igara Studio S.A."
12
13#if defined(_WIN32) || defined(__APPLE__)
14 #define HTTP "https"
15#else
16 #define HTTP "http"
17#endif
18
19#ifdef CUSTOM_WEBSITE_URL
20 #define WEBSITE CUSTOM_WEBSITE_URL /* To test web server */
21#else
22 #define WEBSITE HTTP "://www.aseprite.org/"
23#endif
24#define WEBSITE_DOWNLOAD WEBSITE "download/"
25#define WEBSITE_CONTRIBUTORS WEBSITE "contributors/"
26#define WEBSITE_NEWS_RSS HTTP "://blog.aseprite.org/rss"
27#define WEBSITE_UPDATE WEBSITE "update/?xml=1"
28
29const char* get_app_name() { return PACKAGE; }
30const char* get_app_version() { return VERSION; }
31const char* get_app_copyright() { return COPYRIGHT; }
32
33const char* get_app_url() { return WEBSITE; }
34const char* get_app_download_url() { return WEBSITE_DOWNLOAD; }
35const char* get_app_contributors_url() { return WEBSITE_CONTRIBUTORS; }
36const char* get_app_news_rss_url() { return WEBSITE_NEWS_RSS; }
37const char* get_app_update_url() { return WEBSITE_UPDATE; }
38