File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed
Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " requestly" ,
33 "productName" : " Requestly" ,
4- "version" : " 25.10.8 " ,
4+ "version" : " 25.11.10 " ,
55 "main" : " src/main/main.ts" ,
66 "private" : true ,
77 "description" : " Intercept & Modify HTTP Requests" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " requestly" ,
33 "productName" : " Requestly" ,
4- "version" : " 25.10.8 " ,
4+ "version" : " 25.11.10 " ,
55 "private" : true ,
66 "description" : " Intercept & Modify HTTP Requests" ,
77 "main" : " ./dist/main/main.js" ,
Original file line number Diff line number Diff line change @@ -32,6 +32,14 @@ import logger from "../utils/logger";
3232import { setupIPCForwardingToWebApp } from "./actions/setupIPCForwarding" ;
3333import { saveCookies } from "./actions/cookiesHelpers" ;
3434
35+ if ( process . env . IS_SETAPP_BUILD === "true" ) {
36+ log . log ( "[SETAPP] build identified" )
37+ const setappFramework = require ( "@setapp/framework-wrapper" ) ;
38+ setappFramework . SetappManager . shared . reportUsageEvent ( setappFramework . SETAPP_USAGE_EVENT . USER_INTERACTION ) ;
39+ log . log ( "[SETAPP] integration complete" )
40+ }
41+
42+
3543// Init remote so that it could be consumed in renderer
3644const remote = require ( "@electron/remote/main" ) ;
3745remote . initialize ( ) ;
474482 . whenReady ( )
475483 . then ( ( ) => {
476484 app . on ( "activate" , ( ) => {
477- if ( process . env . IS_SETAPP_BUILD === "true" ) {
478- const setappFramework = require ( "@setapp/framework-wrapper" ) ;
479- setappFramework . SetappManager . shared . reportUsageEvent ( setappFramework . SETAPP_USAGE_EVENT . USER_INTERACTION ) ;
480- }
481-
482485 // On macOS it's common to re-create a window in the app when the
483486 // dock icon is clicked and there are no other windows open.
484487 if ( BrowserWindow . getAllWindows ( ) . length === 0 ) {
You can’t perform that action at this time.
0 commit comments