@@ -40,7 +40,7 @@ import { ResInstaller } from './ResInstaller';
4040import {
4141 ERROR , WARNING , INFORMATION ,
4242 view_str$operation$serialport , view_str$operation$baudrate , view_str$operation$serialport_name ,
43- txt_install_now , txt_yes , view_str$prompt$feedback , rating_text , later_text
43+ txt_install_now , txt_yes , view_str$prompt$feedback , rating_text , later_text , sponsor_author_text
4444} from './StringTable' ;
4545import { LogDumper } from './LogDumper' ;
4646import { StatusBarManager } from './StatusBarManager' ;
@@ -324,10 +324,14 @@ function postLaunchHook(extensionCtx: vscode.ExtensionContext) {
324324 Date . now ( ) - appUsrData [ 'InstallTime' ] > some_days ) {
325325 resManager . setAppUsrData ( 'Feedbacked' , true ) ;
326326 const msg = view_str$prompt$feedback ;
327- vscode . window . showInformationMessage ( msg , rating_text ) . then ( ( ans ) => {
327+ vscode . window . showInformationMessage ( msg , rating_text , sponsor_author_text ) . then ( ( ans ) => {
328328 if ( ans == rating_text ) {
329329 utility . openUrl ( `https://marketplace.visualstudio.com/items?itemName=CL.eide&ssr=false#review-details` ) ;
330330 }
331+ if ( ans == sponsor_author_text ) {
332+ // https://em-ide.com/sponsor
333+ utility . openUrl ( `https://em-ide.com/sponsor` ) ;
334+ }
331335 } ) ;
332336 }
333337 }
0 commit comments