测试 用electron + springboot 构建桌面应用
whyczh
2022-03-21 273dbf11feb20fdd97c8d6e4577732956cae195a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * This Java source file was generated by the Gradle 'init' task.
 */
package testElectronJ;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
 
@SpringBootApplication
@ServletComponentScan(basePackages = {"testElectronJ.filter"})
public class App extends WebMvcConfigurerAdapter implements WebMvcConfigurer {
 
    public static void main(String[] args) {
        new SpringApplicationBuilder(App.class).run(args);
    }
}