Use GitHub issues for reporting feedback.
parent
6fe7c059db
commit
a64f5e08e6
|
@ -352,9 +352,18 @@
|
||||||
{
|
{
|
||||||
NSString *version = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"];
|
NSString *version = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"];
|
||||||
|
|
||||||
NSString *url = @"https://kode54.net/contact";
|
NSArray<NSURLQueryItem *> *query = @[
|
||||||
|
[NSURLQueryItem queryItemWithName:@"labels" value:@"bug"],
|
||||||
|
[NSURLQueryItem queryItemWithName:@"template" value:@"bug_report.md"],
|
||||||
|
[NSURLQueryItem queryItemWithName:@"title"
|
||||||
|
value:[NSString stringWithFormat:@"[Cog %@] ", version]]
|
||||||
|
];
|
||||||
|
NSURLComponents *components =
|
||||||
|
[NSURLComponents componentsWithString:@"https://github.com/losnoco/Cog/issues/new"];
|
||||||
|
|
||||||
[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@/%@", url, version]]];
|
components.queryItems = query;
|
||||||
|
|
||||||
|
[[NSWorkspace sharedWorkspace] openURL:components.URL];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)initDefaults
|
- (void)initDefaults
|
||||||
|
|
Loading…
Reference in New Issue