tommy

Results 9 comments of tommy

看看有没有初始化按钮,如果没有初始化按钮的话,是你的repo地址问题,这个repo地址是xxxx.github.io.

please delete your appdata cache ,then add --enable plugin param start app;

cache dir is in C:\Users\userName\AppData\Roaming\draw.io. if your plugin can not work , you can delete cache dir then restart app.

I think plugin path may be not right. when you first added the plugin ,path is 'plugin/sql.js'; but when you restart app the plugin path is './plugin/sql.js'. now plugin cannot...

> > I think plugin path may be not right. when you first added the plugin ,path is 'plugin/sql.js'; but when you restart app the plugin path is './plugin/sql.js'. now...

I record a gif. ![draw io_jmK5GK2HzZ](https://github.com/jgraph/drawio-desktop/assets/11879404/1214b57e-bedb-47cb-aa4d-b9f308e803ed)

> As a workaround, please try editing the shortcut and add --enable-plugins to the Target ![Screenshot 2023-12-31 at 5 10 50 PM](https://private-user-images.githubusercontent.com/24944765/293524883-9fc87fc4-d1e9-4cd7-8c67-854e61f2ed30.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDQwODkzMjEsIm5iZiI6MTcwNDA4OTAyMSwicGF0aCI6Ii8yNDk0NDc2NS8yOTM1MjQ4ODMtOWZjODdmYzQtZDFlOS00Y2Q3LThjNjctODU0ZTYxZjJlZDMwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAxMDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMTAxVDA2MDM0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkxNjliOGU0YjMxYTEyODg4YzZhOTIyZTNlYmE2OTYzNDIyZGFiM2U0ZTU2NjI5YzhmMWRjYmI4MzQ2Y2E5Y2MmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.M3gOjbl72bo_m361cSDk2vuyYy-BXH3ZfTrh-_JvQlY) It is the same things as before.

I resolved this by delete appdata cache. I think drawio can not load plugin because of app cache in windows.

在main方法测试,性能是不准确的,改成jmh在测试看看,这样显得更专业。